#!/user/bin/env python3
# paa
# -*- coding: utf-8 -*-
from celery import Celery

# 创建celery对象
celery_app = Celery('mangguo')

# 加载配置文件
celery_app.config_from_object('celery_tasks.config')
# 加载异步任务
celery_app.autodiscover_tasks(['celery_tasks.sms'])
